<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注册</title>
</head>
<body>
<center>
  <h1>用户注册</h1>
  <br>

  <form action="/regUser" method="post">
  <table border="1" >
    <tr>
      <td align="center">用户名</td>
      <td><input type="text" name="username"></td>
    </tr>
    <tr>
      <td align="center">请设置新密码</td>
      <td><input type="password" name="password"></td>
    </tr>
    <tr>
      <td align="center">再次输入密码</td>
      <td><input type="password" name="passwordAgain"></td>
    </tr>
    <tr>
      <td align="center">昵称</td>
      <td><input type="text" name="nickname"></td>
    </tr>
    <tr>
      <td align="center">年龄</td>
      <td><input type="number" name="age"></td>
    </tr>
    <tr>
      <td colspan="2" align="center" ><input type="submit" value="注册"></td>
    </tr>
  </table>
  </form>
  <h2><a href="/index.html">返回首页</a></h2>
</center>

</body>
</html>